﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Edit.Master" Inherits="System.Web.Mvc.ViewPage<Langben.DAL.payInfo>" %>

<%@ Import Namespace="Common" %>
<%@ Import Namespace="Models" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CurentPlace" runat="server">
    修改 payInfo
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>
            <input class="a2 f2" type="submit" value="修改" />
            <input class="a2 f2" type="button" onclick="BackList('payInfo')" value="返回列表" />
        </legend>
        <div class="bigdiv">
            <%: Html.HiddenFor(model => model.ID ) %>      
            <div class="editor-label">
                <a class="anUnderLine" onclick="showModalOnly('contractId','../../contract');">
                    <%: Html.LabelFor(model => model.contractId) %>
                </a>：
            </div>
            <div class="editor-field">
                <div id="checkcontractId">
                    <%  if(Model!=null)
                        {
                        if (null != Model.contractId)                      
                        {%>
                    <table id="<%: Model.contractId %>"
                        class="deleteStyle">
                        <tr>
                            <td>
                                <img alt="删除"  title="点击删除" onclick="deleteTable('<%: Model.contractId %>','contractId');" src="../../../Images/deleteimge.png" />
                            </td>
                            <td>
                                <%: Model.contract.zha_ID%>
                            </td>
                        </tr>
                    </table>
                    <%}}%>
                </div>
                <%: Html.HiddenFor(model => model.contractId)%>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.payName) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.payName) %>
                <%: Html.ValidationMessageFor(model => model.payName) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.proportion) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.proportion) %>
                <%: Html.ValidationMessageFor(model => model.proportion) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.payMoney) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.payMoney) %>
                <%: Html.ValidationMessageFor(model => model.payMoney) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.payTime) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBox("payTime", ((Model != null && Model.payTime != null) ? Model.payTime.ToString().AsDateTime().ToString("yyyy-MM-dd") : ""), new { style = "width: 244px;", @class="easyui-datebox" })%>
                <%: Html.ValidationMessageFor(model => model.payTime) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.actualTime) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBox("actualTime", ((Model != null && Model.actualTime != null) ? Model.actualTime.ToString().AsDateTime().ToString("yyyy-MM-dd") : ""), new { style = "width: 244px;", @class="easyui-datebox" })%>
                <%: Html.ValidationMessageFor(model => model.actualTime) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.actualPay) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.actualPay) %>
                <%: Html.ValidationMessageFor(model => model.actualPay) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.payNumber) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.payNumber) %>
                <%: Html.ValidationMessageFor(model => model.payNumber) %>
            </div>
            <br style="clear: both;" />
            <div class="editor-label">
                <%: Html.LabelFor(model => model.remark) %>：
            </div>
            <div class="textarea-box">
                <%: Html.TextAreaFor(model => model.remark) %>
                <%: Html.ValidationMessageFor(model => model.remark) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.checkReceipt) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.checkReceipt) %>
                <%: Html.ValidationMessageFor(model => model.checkReceipt) %>
            </div><%: Html.HiddenFor(model => model.CreateTime ) %><%: Html.HiddenFor(model => model.CreatePerson ) %>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    
    <script type="text/javascript">

        $(function () {
            

        });
              

    </script>
</asp:Content>

